package t2bean;

/**
 * 图书类
 *
 */
public class BookBean {
	private Integer id;
//	书编号
	private Integer bookId;
	private String name;
	private Integer isLended;// 1为已借出 0为未借出
//	借出次数
	private Integer lendTimes;

	public BookBean(Integer bookId, String name) {

		this.bookId = bookId;
		this.name = name;
		this.isLended = 0;
		this.lendTimes = 0;
	}

	public BookBean() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getIsLended() {
		return isLended;
	}

	public void setIsLended(Integer isLended) {
		this.isLended = isLended;
	}

	public Integer getLendTimes() {
		return lendTimes;
	}

	public void setLendTimes(Integer lendTimes) {
		this.lendTimes = lendTimes;
	}

}
